package com.defangit.production.domain;

import java.time.LocalDateTime;
import java.util.List;

public class ManufactureEntry {
    private int id;
    private AbstractStore store;
    private Operator producer;
    private List<Operator> inspectors;
    private Operator receiver;
    private LocalDateTime createTime;
    private LocalDateTime endTime;
    private List<ManufactureItem> manufactureItems;
    private ProductionProcess productionProcess;
    private CheckStatus checkStatus;
    private String checkReason;
    private String no;
    private Double quantity;
    private int step;

    public int getStep() {
        return step;
    }

    public ManufactureEntry setStep(int step) {
        this.step = step;
        return this;
    }

    public Double getQuantity() {
        return quantity;
    }

    public ManufactureEntry setQuantity(Double quantity) {
        this.quantity = quantity;
        return this;
    }

    public String getNo() {
        return no;
    }

    public ManufactureEntry setNo(String no) {
        this.no = no;
        return this;
    }

    public int getId() {
        return id;
    }

    public ManufactureEntry setId(int id) {
        this.id = id;
        return this;
    }

    public CheckStatus getCheckStatus() {
        return checkStatus;
    }

    public ManufactureEntry setCheckStatus(CheckStatus checkStatus) {
        this.checkStatus = checkStatus;
        return this;
    }

    public String getCheckReason() {
        return checkReason;
    }

    public ManufactureEntry setCheckReason(String checkReason) {
        this.checkReason = checkReason;
        return this;
    }

    public AbstractStore getStore() {
        return store;
    }

    public ManufactureEntry setStore(AbstractStore store) {
        this.store = store;
        return this;
    }

    public Operator getProducer() {
        return producer;
    }

    public ManufactureEntry setProducer(Operator producer) {
        this.producer = producer;
        return this;
    }

    public List<Operator> getInspectors() {
        return inspectors;
    }

    public ManufactureEntry setInspectors(List<Operator> inspectors) {
        this.inspectors = inspectors;
        return this;
    }

    public Operator getReceiver() {
        return receiver;
    }

    public ManufactureEntry setReceiver(Operator receiver) {
        this.receiver = receiver;
        return this;
    }


    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public ManufactureEntry setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
        return this;
    }

    public List<ManufactureItem> getManufactureItems() {
        return manufactureItems;
    }

    public ManufactureEntry setManufactureItems(List<ManufactureItem> manufactureItems) {
        this.manufactureItems = manufactureItems;
        return this;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public ManufactureEntry setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
        return this;
    }

    public ProductionProcess getProductionProcess() {
        return productionProcess;
    }

    public ManufactureEntry setProductionProcess(ProductionProcess productionProcess) {
        this.productionProcess = productionProcess;
        return this;
    }

}
